import { AxiosInstance } from 'axios';
import adminRequest from '@/config/api_config/request_config/mobile_request';

const allRequest: {[key: string]: AxiosInstance} = {
  mobileApi: adminRequest
};

export enum RequestApiEnum {
  MobileEnum = 'mobileApi',
  AdminEnum = 'adminApi'
}
export function getRequest (requestEnum: RequestApiEnum): AxiosInstance {
  return allRequest[requestEnum];
}
